[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Determines if this set is a superset of another set. Neither set is modified.
This set is a superset of otherSet if every element in
otherSet is also in this set.
Remarks
IsSupersetOf is computed in time O(M log N), where M is the size of the
otherSet, and N is the size of the this set.
Namespace: Wintellect.PowerCollections
Assembly:
PowerCollections (in PowerCollections.dll)
Syntax
C# |
---|
public bool IsSupersetOf( OrderedSet<T> otherSet ) |
Visual Basic (Declaration) |
---|
Public Function IsSupersetOf ( _ otherSet As OrderedSet(Of T) _ ) As Boolean |
Visual C++ |
---|
public: bool IsSupersetOf ( OrderedSet<T>^ otherSet ) |
Parameters
- otherSet
- OrderedSet<(Of <T>)>
OrderedSet to compare to.
Return Value
True if this is a superset of otherSet.Exceptions
Exception | Condition |
---|---|
System..::InvalidOperationException | This set and otherSet don't use the same method for comparing items. |
See Also
OrderedSet<(Of <T>)> Class
Wintellect.PowerCollections Namespace